use chrono::NaiveDateTime;
use serde::{Deserialize, Serialize};
use sqlx::FromRow;

#[derive(Debug, Clone, Default, Serialize, Deserialize, FromRow)]
pub struct SysRole {
    pub id: Option<i64>,
    pub name: Option<String>,
    pub role_key: Option<String>,
    pub role_sort: Option<i64>,
    pub data_scope: Option<i64>,
    pub status: Option<i64>,
    pub del_flag: Option<i64>,
    pub create_by: Option<String>,
    pub create_time: Option<NaiveDateTime>,
    pub update_by: Option<String>,
    pub update_time: Option<NaiveDateTime>,
    pub remark: Option<String>,
}